<script>
  export let a;
</script>

{#if a}
  {@const b = a + 1}
{/if}